package org.example.admin.service;

import org.example.admin.exception.BizException;
import org.example.entity.Notify;


import java.util.List;


public interface NotifyService {
    Notify getMsgById(Integer Id) throws BizException;

    List<Notify> getUnreadMsgListByUId(Integer uId)throws BizException;

    void insertNotify(Notify notify)throws BizException;

    void deleteNotifyById(Integer id)throws BizException;

    void updateNotify(Notify notify)throws BizException;

    List<Notify> getAllMsg()throws BizException;
}
